docs: Phase B Slice 1 deferral + Phase C scoping (2026-05-28) - #198
Merged
Conversation
Phase B Slice 1 (TEcho linearity wire) investigated and deferred per owner directive 2026-05-28: The intended wire (`is_linear_ty (TEcho _) => true` in Syntax.v) is structurally non-vacuous at L1. While the legacy `Semantics.v` cascade is vacuous (no rule produces `TEcho`), at L1 `EEcho T v` is both a value (`VEcho`) and typed at `TEcho T` (via `T_Echo_L1`, TypingL1.v:351-354), refuting the conclusion of `linear_value_is_loc_l1` (Semantics_L1.v:891). The lemma feeds 9 call-sites in the foundational substitution-chain lemma `subst_typing_gen_l1_m` (Qed at line 1605). Three resolution options surfaced — disjunctive lemma rewrite, layered predicate split, defer until Phase D. Owner chose deferral: Phase D's L2 effect-typed TFun reshapes the L1 substitution chain anyway; the wire will land naturally once that infrastructure exists. This commit records the deferral discovery in PROOF-NEEDS.md §"Near- term (L3 wiring)" as a parked row, and reorients STATE.a2ml's next_action to Phase C (L1 structural list-vs-multiset bridge at Semantics_L1.v:553/621). No proof changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hyperpolymath
enabled auto-merge (squash)
May 28, 2026 08:06
🔍 Hypatia Security ScanFindings: 67 issues detected
View findings[
{
"reason": "Issue in abi-verify.yml",
"type": "unknown",
"file": "abi-verify.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in boj-build.yml",
"type": "unknown",
"file": "boj-build.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in codeql.yml",
"type": "unknown",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in governance.yml",
"type": "unknown",
"file": "governance.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in hypatia-scan.yml",
"type": "unknown",
"file": "hypatia-scan.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in instant-sync.yml",
"type": "unknown",
"file": "instant-sync.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in mirror.yml",
"type": "unknown",
"file": "mirror.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in rust-ci.yml",
"type": "unknown",
"file": "rust-ci.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in rust-ci.yml",
"type": "unknown",
"file": "rust-ci.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in scorecard-enforcer.yml",
"type": "unknown",
"file": "scorecard-enforcer.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Background — the Phase B Slice 1 deferral
The original Phase B Slice 1 plan was a one-line definitional refinement: add `| TEcho _ => true` to `is_linear_ty` in `formal/Syntax.v`, realising the design intent annotated at `TypingL1.v:T_Observe_L1`.
Investigation 2026-05-28 revealed the wire's true scope:
Three resolution paths were surfaced (`AskUserQuestion` 2026-05-28):
Owner chose (3) defer — Phase D will create the right shape for the wire to land cleanly without the disjunctive rewrite.
Phase C scoping (this commit)
`STATE.a2ml` next_action now reads: "Phase C — L1 structural list-vs-multiset bridge (1-2 PRs). Closes `Semantics_L1.v` structural admits at ~line 553/621 + 1 outer `Admitted` that depend on them. Bridge predicate choice (rotation vs permutation vs abstract multiset) is the first design decision. Branch: `proof/phase-c-l1-multiset-bridge`."
Mapping verified:
Closure of 553 + 621 ⇒ outer `Admitted` at line 653 (`region_shrink_preserves_typing_l1_gen_m`) flips to `Qed`. That makes the value-restricted wrapper at line 666-676 (`region_shrink_preserves_typing_l1`) actually-`Qed` (currently `Qed` only under the outer `Admitted`).
Test plan
🤖 Generated with Claude Code